package com.hu.common.enums;

import com.hu.common.enums.serializer.EnumDefinition;

/**
 * @author 00351634
 * @version 1.0
 * @date 2024/7/12 9:02
 * @description: 角色枚举
 */
public enum RoleEnum implements EnumDefinition<String> {
    ADMIN_TOP("role_admin", "公司工会管理员（置顶）"),
    ADMIN_DEFAULT("role_default", "默认角色"),
    ADMIN_SYSTEM("sys_admin", "系统管理员"),
    ADMIN_HEALTH_CORNER("health_corner_admin", "公司工会管理员（健康角）"),
    ADMIN_SITE_CORNER("zgzd_admin", "公司工会管理员（职工阵地）"),
    ADMIN_MODEL_CRAFTSMAN("model_craftsman_admin", "公司工会管理员（劳模工匠室）"),
    ADMIN_SUNSHINE_HOME("ygjy_admin", "公司工会管理员（阳光家园）"),
    ADMIN_HOT_NEWS("rdjj_admin", "公司工会管理员（热点聚焦）"),
    ADMIN_WITHDRAW("withdraw_admin", "公司工会管理员（撤回）");

    private final String code;
    private final String comment;

    RoleEnum(final String code, final String comment) {
        this.code = code;
        this.comment = comment;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getComment() {
        return this.comment;
    }
}
